package com.monika.main.system.domain.entity;

import com.monika.main.system.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * Author whh
 * Date 2023/04/17/ 21:41
 * <p></p>
 */
@Getter
@Setter
public class SysConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    private Long config_id;

    /** 参数名称 */
    private String config_name;

    /** 参数键名 */
    private String config_key;

    /** 参数键值 */
    private String config_value;

    /** 系统内置（Y是 N否） */
    private String config_type;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("configId", getConfig_id())
                .append("configName", getConfig_name())
                .append("configKey", getConfig_key())
                .append("configValue", getConfig_value())
                .append("configType", getConfig_type())
                .append("createBy", getCreate_by())
                .append("createTime", getCreate_time())
                .append("updateBy", getUpdate_by())
                .append("updateTime", getUpdate_time())
                .append("remark", getRemark())
                .toString();
    }
}
